package org.sifu500w.sifu.web.model;

import java.io.Serializable;

import org.sifu500w.sifu.pojo.SifuInfo;

/**
 * 私服信息对象
 * 
 * @author Ice
 */
public class SifuInfoModel extends SifuInfo implements Serializable {

	/**
	 * 获取发布时间
	 */
	public String getPublishDateDesc() {
		return String.format("%1$tm月%1$td日/%1$tp%1$TH点%TM分开放", this.getPublishDate());
	}
	
	/**
	 * 获取网络路线描述
	 */
	public String getNetworkLineDesc() {
		return this.getNetworkLine().getDescInfo().toString();
	}

	/**
	 * 获取私服类型描述
	 */
	public String getSifuTypeDesc() {
		return this.getSifuType().getDescInfo().toString();
	}

	private static final long serialVersionUID = 4741767405740755311L;
}
